-- this script handles a diagonally divided button, intended to be
-- a right dogear
put (item 1 of the clickLoc) - (item 1 of the rect of the target) into x
put (item 4 of the rect of the target) - (item 2 of the clickLoc) into y
if (x < y) then -- click is in upper left
visual effect wipe left
play "click"
go to next card
else
visual effect wipe right
play "click"
go card "ham6"
end if
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=462 top=306 right=340 bottom=508
-- title width / last selected line: 0
-- icon id / first selected line: 24317 / 24317
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Go first
----- HyperTalk script -----
on mouseUp
set lockscreen to true
go card "tline"
hide background field "one"
hide background field "two"
hide background field "three"
hide background field "four"
set lockscreen to false
visual effect dissolve
go to card "tline"
end mouseUp
-- part contents for card part 3
----- text -----
No, the other dogear!
-- part contents for background part 1
----- text -----
If a man stole either an ox, a sheep or an ass, or a pig or a boat: if it belonged to the church or state, he shall pay thirty times its value; if it belonged to a private citizen, he shall pay tens time its value. If the thief does not have enough to pay, he shall be put to death.